package com.zjht.gmcc.bean.model;

import com.zjht.gmcc.bean.util.MyFormat;

/**
 * Product列表
 * @author dyh
 */
public class Product implements java.io.Serializable {
	private static final long serialVersionUID = 2958156938657051800L;
	private String brandname;// 品牌名称
	private String spec;// 机型名称
	private String productid;
	private String rpttype;
	private String appointprovider;// 代理商
	private double price;
	private String priceStr;
	private String productsystem;
	private String producttype;
	private String productsubtype;
	private String productlevel;
	private String FDflag;
	private String agentflag;
	private String pm;// 项目经理
	private String memo;
	private String material;// 物料编码
	private int amount;// 销量
	private double money;// 金额
	private String areaid;
	private int target;// 指标销量

	public Product() {
	}

	public String getBrandname() {
		return brandname;
	}

	public void setBrandname(String brandname) {
		this.brandname = brandname;
	}

	public String getSpec() {
		return spec;
	}

	public void setSpec(String spec) {
		this.spec = spec;
	}

	public String getProductid() {
		return productid;
	}

	public void setProductid(String productid) {
		this.productid = productid;
	}

	public String getRpttype() {
		return rpttype;
	}

	public void setRpttype(String rpttype) {
		this.rpttype = rpttype;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
		setPriceStr(price);
	}

	public String getPriceStr() {
		return priceStr;
	}

	public void setPriceStr(double price) {
		this.priceStr = MyFormat.getMoney(price);
	}

	public void setPriceStr(String priceStr) {
		this.priceStr = priceStr;
	}

	public String getAppointprovider() {
		return appointprovider;
	}

	public void setAppointprovider(String appointprovider) {
		this.appointprovider = appointprovider;
	}

	public String getProductsystem() {
		return productsystem;
	}

	public void setProductsystem(String productsystem) {
		this.productsystem = productsystem;
	}

	public String getProducttype() {
		return producttype;
	}

	public void setProducttype(String producttype) {
		this.producttype = producttype;
	}

	public String getProductlevel() {
		return productlevel;
	}

	public void setProductlevel(String productlevel) {
		this.productlevel = productlevel;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public String getProductsubtype() {
		return productsubtype;
	}

	public void setProductsubtype(String productsubtype) {
		this.productsubtype = productsubtype;
	}

	public String getFDflag() {
		return FDflag;
	}

	public void setFDflag(String dflag) {
		FDflag = dflag;
	}

	public String getAgentflag() {
		return agentflag;
	}

	public void setAgentflag(String agentflag) {
		this.agentflag = agentflag;
	}

	public String getPm() {
		return pm;
	}

	public void setPm(String pm) {
		this.pm = pm;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public String getMaterial() {
		return material;
	}

	public void setMaterial(String material) {
		this.material = material;
	}

	public String getAreaid() {
		return areaid;
	}

	public void setAreaid(String areaid) {
		this.areaid = areaid;
	}

	public int getTarget() {
		return target;
	}

	public void setTarget(int target) {
		this.target = target;
	}

}